package com.mvc.model.healthmanager.archive;

/**
 * @author qingjie
 * 体温实体类
 * date:2016-01-04
 */
import java.io.Serializable;
import java.util.Date;

import javax.persistence.Entity;
import javax.persistence.Table;
import javax.persistence.Transient;

import org.hibernate.annotations.DynamicInsert;
import org.hibernate.annotations.DynamicUpdate;

import com.mvc.model.base.IdEntity;
@Entity
@Table(name="yh_temperature")
@DynamicInsert(true)
@DynamicUpdate(true)
public class UserTemperature extends IdEntity implements Serializable{
		
		private static final long serialVersionUID = 1L;
		private String personId;//个人ID
		private String mobile;
		private String name;//用户名
		private int sex;//性别
		private String idcard;//证件号码
		private String state;//体温状态
		private Date modifyDate;//修改时间 
		private int age;//年龄 
		private int temperature;//体温
		private int count;
		private String devicecode;
		private String dataSource;
		private Date creatDate;
		@Transient
		public String getName() {
			return name;
		}
		@Transient
		public void setName(String name) {
			this.name = name;
		}
		@Transient
		public int getSex() {
			return sex;
		}
		@Transient
		public void setSex(int sex) {
			this.sex = sex;
		}
		public String getIdcard() {
			return idcard;
		}
		public void setIdcard(String idcard) {
			this.idcard = idcard;
		}
		public String getState() {
			return state;
		}
		public void setState(String state) {
			this.state = state;
		}
		public Date getModifyDate() {
			return modifyDate;
		}
		public void setModifyDate(Date modifyDate) {
			this.modifyDate = modifyDate;
		}
		@Transient
		public int getAge() {
			return age;
		}
		@Transient
		public void setAge(int age) {
			this.age = age;
		}
		public String getPersonId() {
			return personId;
		}
		public void setPersonId(String personId) {
			this.personId = personId;
		}
		public int getTemperature() {
			return temperature;
		}
		public void setTemperature(int temperature) {
			this.temperature = temperature;
		}
		public int getCount() {
			return count;
		}
		public void setCount(int count) {
			this.count = count;
		}
		public String getDevicecode() {
			return devicecode;
		}
		public String getDataSource() {
			return dataSource;
		}
		public Date getCreatDate() {
			return creatDate;
		}
		public void setDevicecode(String devicecode) {
			this.devicecode = devicecode;
		}
		public void setDataSource(String dataSource) {
			this.dataSource = dataSource;
		}
		public void setCreatDate(Date creatDate) {
			this.creatDate = creatDate;
		}
		@Transient
		public String getMobile() {
			return mobile;
		}
		@Transient
		public void setMobile(String mobile) {
			this.mobile = mobile;
		}
		
}
